//
//  SYBaiBanColorModel.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/12/26.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYBaiBanColorModel.h"

@implementation SYBaiBanColorModel

+ (NSMutableArray *)colorNameArr {
    NSMutableArray *dataArr = [NSMutableArray array];
    NSArray *colorNameArr = @[@"#999999",@"#ADD8E6",@"#000000",@"#FF0000",@"#FFB6C1",@"#555555",@"#4682B4",@"#FF00FF",@"#0000FF",@"#9932CC",@"#FFFF00",@"#98FB98"];
    [colorNameArr enumerateObjectsUsingBlock:^(NSString  *obj, NSUInteger idx, BOOL * _Nonnull stop) {
        SYBaiBanColorModel *colorModel = [[SYBaiBanColorModel alloc] init];
        colorModel.color = obj;
        if (idx == 3) {
            colorModel.isSelect = YES;
        } else {
            colorModel.isSelect = NO;
        }
        
        [dataArr addObject:colorModel];
    }];
    
    
    return dataArr;
}

@end
